package com.brainhealth.customer.domain;

import com.brainhealth.common.enums.CustomerScoreType;
import com.brainhealth.common.enums.ExerciseType;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.brainhealth.common.annotation.Excel;
import com.brainhealth.common.core.domain.BaseEntity;

/**
 * 会员质量评分对象 customer_score
 * 
 * @author wolong
 * @date 2023-05-17
 */
public class CustomerScore extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 会员质量评分主键 */
    private Long customerScoreId;

    /** 关联会员表主键ID */
    @Excel(name = "关联会员表主键ID")
    private Long customerId;

    /**
     * 关联订单号ID
     */
    private String orderId;

    /** 评分类型枚举(0训练 1学习库) */
    @Excel(name = "评分类型枚举(0训练 1学习库)")
    private CustomerScoreType scoreType;

    /** 评分关联训练类型ID */
    @Excel(name = "评分关联训练类型ID")
    private Long typeId;

    /** 评分值 */
    @Excel(name = "评分值")
    private Long score;

    /** 评分次数排序 */
    @Excel(name = "评分次数排序")
    private Long countSort;

    public String getOrderId()
    {
        return orderId;
    }

    public void setOrderId(String orderId)
    {
        this.orderId = orderId;
    }

    public void setCustomerScoreId(Long customerScoreId)
    {
        this.customerScoreId = customerScoreId;
    }

    public Long getCustomerScoreId() 
    {
        return customerScoreId;
    }
    public void setCustomerId(Long customerId) 
    {
        this.customerId = customerId;
    }

    public Long getCustomerId() 
    {
        return customerId;
    }

    public CustomerScoreType getScoreType()
    {
        return scoreType;
    }

    public void setScoreType(CustomerScoreType scoreType)
    {
        this.scoreType = scoreType;
    }

    public void setTypeId(Long typeId)
    {
        this.typeId = typeId;
    }

    public Long getTypeId() 
    {
        return typeId;
    }
    public void setScore(Long score) 
    {
        this.score = score;
    }

    public Long getScore() 
    {
        return score;
    }
    public void setCountSort(Long countSort) 
    {
        this.countSort = countSort;
    }

    public Long getCountSort() 
    {
        return countSort;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("customerScoreId", getCustomerScoreId())
            .append("customerId", getCustomerId())
            .append("scoreType", getScoreType())
            .append("typeId", getTypeId())
            .append("score", getScore())
            .append("countSort", getCountSort())
            .toString();
    }
}
